<template>
    <div class="header">
        <el-button type="success" @click="createMap">创建地图</el-button>
        <createMapDialog ref="createMapDialogRef"/>
        
    </div>
</template>
<script setup lang="ts">
import { ref,reactive } from "vue"
import createMapDialog from "./components/createMapDialog.vue"
const createMapDialogRef = ref()
const data = reactive({

})

const createMap = () => {
    console.log(":111");
    
    createMapDialogRef.value.visiable = true
}
</script>

<style scoped>
.header{
    /* background-color: aliceblue; */
}

</style>